package com.warehouse_management.market.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.warehouse_management.login.model.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("CUSTOM")
public class Custom {

  private String customid;
  private String customname;
  private String sex;
  private String telephone;
  private String company;
  private String address;
  private Provin provin;
  private String status;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createtime;
  private String createid;
  private Users users1;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date distractime;
  private String serviceid;
  private Users users2;
  private String distract;
  private String homeaddress;

}
